package com.lvmama.pangolin.mt.service;

import com.github.pagehelper.PageInfo;
import com.lvmama.pangolin.entity.ProductConditionVO;
import com.lvmama.pangolin.entity.mt.MTTicketProduct;

import java.util.List;


public interface MTTicketProductService
{
	int deleteByPrimaryKey(String id);

	int deleteByByProdId(String product_id);

	int insert(MTTicketProduct record);

	int insertSelective(MTTicketProduct record);

	MTTicketProduct selectByPrimaryKey(String id);

	MTTicketProduct selectByProdId(String productId);

	int updateByPrimaryKeySelective(MTTicketProduct record);
	
	int updateByProdIdSelective(MTTicketProduct record);

	int updateByPrimaryKey(MTTicketProduct record);
	
	PageInfo<MTTicketProduct> getAllList(ProductConditionVO sc);
	
	List<MTTicketProduct> selectByName(String name);
	List<MTTicketProduct> selectAll();

	List<MTTicketProduct> selectByUrl(String url, String url2);
	
	public void updateByProdId(String productId);
	
	public void deleteLinkByProdId(String productId);
}
